package com.zeta.eduservice.service;

import java.io.IOException;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.springframework.web.multipart.MultipartFile;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zeta.eduservice.entity.question.QuestionFile;
import com.zeta.eduservice.entity.vo.QuestionUploadVo;
import com.zeta.eduservice.entity.vo.WordUploadInfo;

/**
 * <p>
 * 题文件表 服务类
 * </p>
 *
 * @author zeta
 * @since 2020-09-05
 */
public interface QuestionFileService extends IService<QuestionFile> {


	void userUpload(MultipartFile file, HttpServletRequest request);
	void download(String id, HttpServletResponse response) throws IOException;
	void userWordload(MultipartFile file, HttpServletRequest request, QuestionUploadVo currChapterId) throws IOException;

}
